setFactory
open fun setFactory(@NonNull inflater: LayoutInflater, @NonNull factory: LayoutInflaterFactory)(source)
Deprecated
Use setFactory2 instead to set and getFactory2 to get the factory.
Attach a custom Factory interface for creating views while using this LayoutInflater. This must not be null, and can only be set once; after setting, you can not change the factory.